﻿function sub(){
	var uname=document.login.username;
	var upass=document.login.password;
	var ucode=document.login.code;
	if(uname.value=="" || upass.value=="" || ucode.value==""){
		alert('请填完整信息');
	}else{
		document.login.submit();
	}
}